using CardGame.InGame;
using UnityEngine;
using Zenject;

namespace CardGame.InGame
{
    public class InGameInstaller : MonoInstaller
    {
        [SerializeField] private int seed;
        public override void InstallBindings()
        {
            Container.Bind<int>().FromInstance(seed).WhenInjectedInto<CoreInstaller>();
            CoreInstaller.Install(Container);
            Container.BindInterfacesTo<Bootstrap>().AsSingle();
            Container.BindInterfacesTo<GameListener>().AsSingle();
        }
    }
}

